package com.silverbox.waimai.entity.extend;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 查询订单传参对象
 * @author CAOXJ
 *
 */
public class WaimaiParam implements Serializable{

	private static final long serialVersionUID = 6125040437594952320L;

	/**
	 * 子门店id
	 */
	private Integer storeId;
	/**
	 * 主门店id
	 */
	private Integer shopperId;
	/**
	 * 用户id
	 */
	private String  buyerId;
	/**
	 * 桌台编号
	 */
	private String  tableNum;
	/**
	 * 订单状态（等于）
	 */
	private Integer  status;
	/**
	 * 订单状态（不等于）
	 */
	private Integer notStatus;
	/**
	 * 订单状态（in）
	 */
	private List<Integer>  statuses = new ArrayList<Integer>();
	/**
	 * 订单状态（not in）
	 */
	private List<Integer> notStatuses = new ArrayList<Integer>();
	/**
	 * 订单类型（5网络订单4扫码下单）
	 */
	private Long outSupportId;

	private List<Integer> inOuterSupportIds;
	/**
	 * 支付状态
	 */
	private Integer payStatus;
	/**
	 * 开始时间
	 */
	private String startDate;
	/**
	 * 结束时间
	 */
	private String endDate;
	/**
	 * 是否核销
	 */
	private Integer isHexiao;
	/**
	 * 
	 */
	private Integer orderType;
	/**
	 * 分页条数
	 */
	private Integer pageCount;
	/**
	 * 桌台Uid
	 */
	private String tableUid;

	/**
	 * 核销类型
	 */
	private Integer hexiaoType;
	
	/**
	 * 备餐状态
	 */
	private Integer prepMealStatus;
	
	/**
	 * 订单号
	 */
	private List<String> orderNum;
	
	/**
	 * 取餐柜编号
	 */
	private String containerNum;
	
	/**
	 * 取餐号
	 * @return
	 */
	private Integer orderSeq;
	
	/**
	 * 取餐码
	 * @return
	 */
	private String takeMealCode;
	
	
	/**
	 * 1：商家已接单2：订单取消 3：骑手已接单 4：骑手已取货 5：送达 6：订单已过期 7：订单异常
	 * @return
	 */
	private Integer deliveryStatus;
	
	public Integer getStoreId() {
		return storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public Integer getShopperId() {
		return shopperId;
	}

	public void setShopperId(Integer shopperId) {
		this.shopperId = shopperId;
	}

	public String getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}

	public String getTableNum() {
		return tableNum;
	}

	public void setTableNum(String tableNum) {
		this.tableNum = tableNum;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getNotStatus() {
		return notStatus;
	}

	public void setNotStatus(Integer notStatus) {
		this.notStatus = notStatus;
	}

	public List<Integer> getStatuses() {
		return statuses;
	}

	public void setStatuses(List<Integer> statuses) {
		this.statuses = statuses;
	}

	public List<Integer> getNotStatuses() {
		return notStatuses;
	}

	public void setNotStatuses(List<Integer> notStatuses) {
		this.notStatuses = notStatuses;
	}

	public Long getOutSupportId() {
		return outSupportId;
	}

	public void setOutSupportId(Long outSupportId) {
		this.outSupportId = outSupportId;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public Integer getIsHexiao() {
		return isHexiao;
	}

	public void setIsHexiao(Integer isHexiao) {
		this.isHexiao = isHexiao;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public Integer getPageCount() {
		return pageCount;
	}

	public void setPageCount(Integer pageCount) {
		this.pageCount = pageCount;
	}

	public String getTableUid() {
		return tableUid;
	}

	public void setTableUid(String tableUid) {
		this.tableUid = tableUid;
	}

	public Integer getHexiaoType() {
		return hexiaoType;
	}

	public void setHexiaoType(Integer hexiaoType) {
		this.hexiaoType = hexiaoType;
	}

	public Integer getPrepMealStatus() {
		return prepMealStatus;
	}

	public void setPrepMealStatus(Integer prepMealStatus) {
		this.prepMealStatus = prepMealStatus;
	}

	public List<String> getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(List<String> orderNum) {
		this.orderNum = orderNum;
	}

	public String getContainerNum() {
		return containerNum;
	}

	public void setContainerNum(String containerNum) {
		this.containerNum = containerNum;
	}

	public Integer getOrderSeq() {
		return orderSeq;
	}

	public void setOrderSeq(Integer orderSeq) {
		this.orderSeq = orderSeq;
	}

	public String getTakeMealCode() {
		return takeMealCode;
	}

	public void setTakeMealCode(String takeMealCode) {
		this.takeMealCode = takeMealCode;
	}

	public Integer getDeliveryStatus() {
		return deliveryStatus;
	}

	public void setDeliveryStatus(Integer deliveryStatus) {
		this.deliveryStatus = deliveryStatus;
	}

    public List<Integer> getInOuterSupportIds() {
        return inOuterSupportIds;
    }

    public WaimaiParam setInOuterSupportIds(List<Integer> inOuterSupportIds) {
        this.inOuterSupportIds = inOuterSupportIds;
        return this;
    }

    @Override
    public String toString() {
        return "WaimaiParam{" +
                "storeId=" + storeId +
                ", shopperId=" + shopperId +
                ", buyerId='" + buyerId + '\'' +
                ", tableNum='" + tableNum + '\'' +
                ", status=" + status +
                ", notStatus=" + notStatus +
                ", statuses=" + statuses +
                ", notStatuses=" + notStatuses +
                ", outSupportId=" + outSupportId +
                ", payStatus=" + payStatus +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", isHexiao=" + isHexiao +
                ", orderType=" + orderType +
                ", pageCount=" + pageCount +
                ", tableUid='" + tableUid + '\'' +
                ", hexiaoType=" + hexiaoType +
                ", prepMealStatus=" + prepMealStatus +
                ", orderNum=" + orderNum +
                ", containerNum='" + containerNum + '\'' +
                ", orderSeq=" + orderSeq +
                ", takeMealCode='" + takeMealCode + '\'' +
                ", deliveryStatus=" + deliveryStatus +
                '}';
    }
}
